package com.itheima.reggie;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@Slf4j//lombok项目jar包自带的日志注解
@SpringBootApplication//springboot引导类注解,项目启动入口
//@ServletComponentScan//加入servlet注解扫描,开启Filter过滤器功能.
@EnableTransactionManagement//开启对事务管理的支持
public class ReggieApplication {
    public static void main(String[] args) {
        SpringApplication.run(ReggieApplication.class,args);
        log.info("reggie 项目启动了 ......");//Lombok日志使用
    }
}
